<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2020/11/27
  Time: 8:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<c:forEach items="${reportsList}" var="rlist">
    <c:forEach items="${rlist}" var="r">
        <c:if test="${r.tType==1}">
            <h3>语文</h3><span>${r.rScore}</span>
            <h3>排名</h3><span>${r.tRank}</span>
        </c:if>
    </c:forEach>
    <c:forEach items="${rlist}" var="r">
        <c:if test="${r.tType==2}">
            <h3>数学</h3><span>${r.rScore}</span>
            <h3>排名</h3><span>${r.tRank}</span>
        </c:if>
    </c:forEach>
    <c:forEach items="${rlist}" var="r">
        <c:if test="${r.tType==3}">
            <h3>英语</h3><span>${r.rScore}</span>
            <h3>排名</h3><span>${r.tRank}</span>
        </c:if>
    </c:forEach>
</c:forEach>
</body>
</html>
